package py.edu.ucsa.sisale.dao;

import java.io.Serializable;
import java.util.List;

public interface GenericDao<T, K extends Serializable> {

    T create(T entity);

    T update(T entity);

    boolean delete(T entity);

    T findById(K key);
    
    List<T> getAll();
}